<%@page contentType="text/html" pageEncoding="UTF-8" 
        import="java.util.Calendar" import="java.util.Date" 
        import="java.text.SimpleDateFormat"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="estilo.css"/>
        <script type="text/javascript" src="validaEntradas.js"></script>
        <title>AA6-1-1 - Actions e JavaBeans</title>
    </head>
    <body>
        <div id="cabecalho">
        <%@include file="cabecalho.jsp"%>
      </div>
      <div id="formulario">         
          <form action="paginaRetorno.jsp" class="cadastro">
            <h1>Cadastro de usu&aacute;rios</h1>
            
            <fieldset class="dados">
                <legend>
                  Dados Pessoais
                </legend>
                
                <p>
                    <label>Nome *</label>
                    <input type="text" name="nome" class="extenso"/>
                </p>
                <p>
                    <label>Idade *</label>
                    <input type="text" name="idade" maxlength="3" class="curto"
                            OnkeyPress="return soNumero(event)"/>
                </p>
                <p>
                    <label>Email *</label>
                    <input type="text" name="email" class="extenso" id="email"  
                           onblur ="verificaEmail(this.value)"/>
                </p>
                <p>
                    <label>Endere&ccedil;o *</label>
                    <input type="text" name="endereco" class="extenso"/>
                </p>
                <p>
                    <label>Telefone *</label>
                   <input type="text" name="telefone"  class="medio" maxlength="14" 
                             OnkeyPress="return soNumero(event)"
                           OnKeyUp="mascaraTelefone(this.value)"/>
                </p>
              <button type="submit" class="botao" >Enviar &raquo;</button>
              <p style="font-style: italic">
                  
                  * Campos obrigat&oacute;rios
              </p>
              
            </fieldset>
                
        </form>
      </div>
      <div id="rodape">
          <%@include file="rodape.jsp"%>
      </div>
    </body>
</html>
